LEADTOOLS (Leadtools.Logging assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Exception(String,Exception,Dictionary<String,Object>) Method
See Also 
Leadtools.Logging Namespace > Logger Class > Exception Method : Exception(String,Exception,Dictionary<String,Object>) Method



source
The source of the message.
e
The Exception to log.
custom
Custom information associated with the exception.
source
The source of the message.
e
The Exception to log.
custom
Custom information associated with the exception.
Logs the specified entry as an exception.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Exception( _
   ByVal source As String, _
   ByVal e As Exception, _
   ByVal custom As Dictionary(Of String,Object) _
) 
Visual Basic (Usage)Copy Code
Dim instance As Logger
Dim source As String
Dim e As Exception
Dim custom As Dictionary(Of String,Object)
 
instance.Exception(source, e, custom)
C# 
public void Exception( 
   string source,
   Exception e,
   Dictionary<string,object> custom
)
C++/CLI 
public:
void Exception( 
   String^ source,
   Exception^ e,
   Dictionary<String^,Object^>^ custom
) 

Parameters

source
The source of the message.
e
The Exception to log.
custom
Custom information associated with the exception.

Remarks

Exception log entries are marked as LogType.Error.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Logging requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features